﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Radius.NET.Interface.Kingdee.Entity;

#region 单据公共头部
/// <summary>
/// 单据公共头部
/// </summary>
public class KingdeePubClass
{
    /// <summary>
    /// 需要更新的字段
    /// </summary>
    public List<string> NeedUpDateFields { set; get; } = new List<string>();
    /// <summary>
    /// 需要返回的字段
    /// </summary>
    public List<string> NeedReturnFields { set; get; } = new List<string>();
    /// <summary>
    /// 
    /// </summary>
    public bool IsDeleteEntry { set; get; } = true;
    /// <summary>
    /// 
    /// </summary>
    public string SubSystemId { set; get; } = string.Empty;
    /// <summary>
    /// 
    /// </summary>
    public bool IsVerifyBaseDataField { set; get; } = false;
    /// <summary>
    /// 
    /// </summary>
    public bool IsEntryBatchFill { set; get; } = true;
    /// <summary>
    /// 
    /// </summary>
    public bool ValidateFlag { set; get; } = true;
    /// <summary>
    /// 
    /// </summary>
    public bool NumberSearch { set; get; } = true;
    /// <summary>
    /// 
    /// </summary>
    public bool IsAutoAdjustField { set; get; } = true;
    /// <summary>
    /// 
    /// </summary>
    public string InterationFlags { set; get; } = string.Empty;
    /// <summary>
    /// 
    /// </summary>
    public string IgnoreInterationFlag {  set; get; } = string.Empty;   
}
#endregion

#region 单据类型
/// <summary>
/// 单据类型
/// </summary>
public class FBillType
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { get; set; } = string.Empty;
}
#endregion

#region 发料组织
/// <summary>
/// 发料组织
/// </summary>
public class FStockOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { get; set; } = string.Empty;
}
#endregion

#region 单据表头仓库
/// <summary>
/// 单据表头仓库
/// </summary>
public class FStockId0
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

#region 单据表头生产组织
/// <summary>
/// 单据表头生产组织
/// </summary>
public class FPrdOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

#region 单据表头货主
/// <summary>
/// 单据表头货主
/// </summary>
public class FOwnerId0
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

#region 领料人
/// <summary>
/// 单据表头领料人
/// </summary>
public class FPickerId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

#region 仓管员
/// <summary>
/// 单据表头仓管员
/// </summary>
public class FSTOCKERID
{
    /// <summary>
    /// 名称
    /// </summary>
    public string FNAME { set; get; } = string.Empty;
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

#region 本位币
/// <summary>
/// 单据表头本位币
/// </summary>
public class FCurrId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
#endregion

/// <summary>
/// 车间
/// </summary>
public class FWorkShopId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FWorkshipIdH
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FWorkshipID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSNUnitID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FStockInOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FDeptId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; }
}
public class FReportType
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; }
}
public class FMaterialUnitID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; }
}
public class FShiftGroupId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; }
}

public class FParentMatId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}


public class FParentMaterialId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 物料编码
/// </summary>
public class FMaterialId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 单据明细车间编码
/// </summary>
public class FEntryWorkShopId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 辅助单位
/// </summary>
public class FAuxPropId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 单位
/// </summary>
public class FUnitID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 基本单位
/// </summary>
public class FBaseUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 库存单位
/// </summary>
public class FStockUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 库存辅单位
/// </summary>
public class FSecUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 库位
/// </summary>
public class FStockId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 原库位
/// </summary>
public class FSrcStockId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 原货位
/// </summary>
public class FSrcStockLocId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 目的库位
/// </summary>
public class FDestStockId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 目的货位
/// </summary>
public class FDestStockLocId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 配方ID
/// </summary>
public class FBomId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { get; set; } = string.Empty;
}
/// <summary>
/// 原库位状态
/// </summary>
public class FSrcStockStatusId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { get; set; } = string.Empty;
}
/// <summary>
/// 目的库位状态
/// </summary>
public class FDestStockStatusId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { get; set; } = string.Empty;
}

/// <summary>
/// 货位
/// </summary>
public class FStockLocId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
/// <summary>
/// 批次号
/// </summary>
public class FLot
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FProcessId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}

public class FParentOwnerId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}

public class FKeeperId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}

public class FOwnerId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FOwnerOutId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FExtAuxUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FKeeperOutId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FDestLot
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}

public class FDestMaterialId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FDestBomId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSaleUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FPriceUnitID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FBillTypeID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSettleOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSaleOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FStockOutOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FOwnerOutIdHead
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FExchangeTypeId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSETTLECURRID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FOwnerIdHead
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FBaseCurrId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSUPPLIERID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FCustID
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FDemandOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FPurchaseOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSupplyId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FSettleId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FChargeId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FStockStatusId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}
public class FRemainInStockUnitId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}

public class FPurOrgId
{
    /// <summary>
    /// 编码
    /// </summary>
    public string FNumber { set; get; } = string.Empty;
}


public class FEntity_LinkItem 
{
    /// <summary>
    /// 
    /// </summary>
    public string FEntity_Link_FFlowId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int FEntity_Link_FFlowLineId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FEntity_Link_FRuleId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FEntity_Link_FSTableName { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FEntity_Link_FSBillId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public string FEntity_Link_FSId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public double? FEntity_Link_FBaseActualQtyOld { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public double? FEntity_Link_FBaseActualQty { get; set; }
}

public class FMRDeptId
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}

public class FSTOCKERGROUPID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FCorrespondOrgId
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FMRREASON
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FRequireOrgId
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPURCHASEDEPTID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPURCHASERGROUPID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPURCHASERID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FACCEPTORID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FCHARGEID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FScanPoint
{
    /// <summary>
    /// 
    /// </summary>
    public string FNUMBER { get; set; }
}
public class FConfirmerId
{
    /// <summary>
    /// 
    /// </summary>
    public string FUserID { get; set; }
}
public class FAcceptorContactID
{
    /// <summary>
    /// 
    /// </summary>
    public string FCONTACTNUMBER { get; set; }
}
public class FSETTLETYPEID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FSettleCurrId
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPAYCONDITIONID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPRICELISTID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FDISCOUNTLISTID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FLOCALCURRID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FEXCHANGETYPEID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FTaxCombination
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FSetPriceUnitID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FCarryUnitId
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPriceListEntry
{
    /// <summary>
    /// 
    /// </summary>
    public string FNUMBER { get; set; }
}
public class FChargeProjectID
{
    /// <summary>
    /// 
    /// </summary>
    public string FNumber { get; set; }
}
public class FPURMRBFIN
{
    /// <summary>
    /// 
    /// </summary>
    public int FEntryId { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FSettleOrgId FSettleOrgId { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FSETTLETYPEID FSETTLETYPEID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FSettleCurrId FSettleCurrId { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FPAYCONDITIONID FPAYCONDITIONID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public bool? FIsIncludedTax { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string FPRICETIMEPOINT { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FPRICELISTID FPRICELISTID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FDISCOUNTLISTID FDISCOUNTLISTID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FLOCALCURRID FLOCALCURRID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public FEXCHANGETYPEID FEXCHANGETYPEID { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int FEXCHANGERATE { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public bool? FISPRICEEXCLUDETAX { get; set; }
}


